package sr.myserver.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

public class Basic {

    @Data
    @ApiModel(value = "公共请求参数", description = "公共请求参数")
    public static class Request {
        @Schema(description = "APP认证token")
        private String token;
    }

    @Data
    @ApiModel(value = "公共响应参数", description = "公共响应参数")
    public static class Response {

        @Schema(description = "响应码（0000 成功,其它失败）")
        public String code;

        @Schema(description = "响应消息")
        public String msg;

        public Response() {
        }

        public Response(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }


}
